package com.easyim.imserver.constant;

import io.netty.util.AttributeKey;

public interface CacheKey {

    AttributeKey<Boolean> AUTHENTICATED =
            AttributeKey.valueOf("authenticated");

    AttributeKey<String> DEVICE = AttributeKey.valueOf("device");

    AttributeKey<String> USERNAME = AttributeKey.valueOf("username");

    AttributeKey<Long> ACTIVE_TIME = AttributeKey.valueOf("activeTime");

    String DATA_MSG_HANDLER_KEY = "data";

    String CMD_MSG_HANDLER_KEY = "cmd";

    String ACK_MSG_HANDLER_KEY = "ack";

}
